package com.open.capacity.firebird.dao;

import com.open.capacity.common.model.*;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.Collection;
import java.util.List;
import java.util.Map;

@Mapper
public interface FireBirdDao {

    List<String> getDBTables();

    List<TableField> getTableFields(String tableName);

    List<AcheAndVolInfo> getAcheAndVolInfos();

    List<PhyExmInfo> getPhyExmInfos();

    List<RegisterInfo> getRegisterInfos();

    List<AcheAndVolInfo> getAcheAndVolInfoList(Map map);

    List<PhyExmInfo> getPhyExmInfoList(Map map);

    List<RegisterInfo> getRegisterInfoList(Map map);

    UnivInfo getUnivInfo();

    long getRegisterInfoListCount(Map map);

    long getPhyExmInfoListCount(Map map);

    long getAcheAndVolInfoListCount(Map map);

    long getGradeTotal();

    long getGradeCount(Map map);

    long getPhyExmConTotal();

    long getPhyExmConCountById(int phyExmConId);

    long getPassCount();

    long getAdmissionTotal();

    List<AdmInfo> getAdmInfoList(Map map);

    long getAdmInfoListCount(Map map);

    List<DocType> getDocTypeList();

    AdmInfo admissionQuery(Map map);

    Long isExistCandidate(Map map);

}
